﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Web;
using bdxyit.com.RecruitmentAppSys.Models;

/***
*机器名：BDXYIT-HUI
*项目名称：$projectname$
*命名空间：bdxyit.com.RecruitmentAppSys.IDAL
*文件名：FamilyInfoModels
*系统时间：3/25/2012 3:35:34 PM
*当前用户：huihui
*创建时间：2012
*
*修改时间：2012 3/25/2012 3:35:34 PM
*修改事件：
***/

namespace bdxyit.com.RecruitmentAppSys.IDAL
{
    public interface IFamilyInfoDAL
    {
        /// <summary>
        /// 插入的家庭信息
        /// </summary>
        /// <returns></returns>
         bool InsertFamilyInfoList(FamilyInfo fi);

        /// <summary>
        /// 获取所有的家庭信息通过用户Id
        /// </summary>
        /// <returns></returns>
        List<FamilyInfo> SelectFamilyInfoByUserId(string UserId);

        FamilyInfo SelectFamilyInfoByUserIdAndFid(string UserId, string fid);

        /// <summary>
        /// 更新家庭信息
        /// </summary>
        /// <param name="fi"></param>
        /// <returns></returns>
        bool UpdateFamilyInfo(FamilyInfo fi);

        /// <summary>
        /// 删除家庭信息
        /// </summary>
        /// <param name="UserId"></param>
        /// <returns></returns>
        bool DeleteFamilyInfoByUserId(string UserId);
    }
}